
using Qdb.Diagnostic;

namespace Qdb.Diagnostic
{
	/// <summary>listens to Diagnostic messages.</summary>
	/// <remarks>
	/// listens to Diagnostic messages.
	/// <br/><br/>Create a class that implements this listener interface and add
	/// the listener by calling <code>commonConfig.Diagnostic.AddListener()</code>.
	/// </remarks>
	/// <seealso cref="Qdb.Diagnostic.IDiagnosticConfiguration">Qdb.Diagnostic.IDiagnosticConfiguration
	/// </seealso>
	public interface IDiagnosticListener
	{
		/// <summary>this method will be called with Diagnostic messages.</summary>
		/// <remarks>this method will be called with Diagnostic messages.</remarks>
		void OnDiagnostic(IDiagnostic d);
	}
}
